package com.antu.first.bean;

import java.util.Date;

/**
 * Created by Administrator on 2018/3/3.
 */
public class Integral {

    private int inId;//积分Id

    private Date intGetTime;//积分获取时间

    private int inMethod;//积分获取方式

    private int inValue;//积分值

    private User user;//用户

    public Integral() {
    }

    public Integral(int inId, Date intGetTime, int inMethod, int inValue, User user) {

        this.inId = inId;
        this.intGetTime = intGetTime;
        this.inMethod = inMethod;
        this.inValue = inValue;
        this.user = user;
    }

    public int getInId() {

        return inId;
    }

    public void setInId(int inId) {
        this.inId = inId;
    }

    public Date getIntGetTime() {
        return intGetTime;
    }

    public void setIntGetTime(Date intGetTime) {
        this.intGetTime = intGetTime;
    }

    public int getInMethod() {
        return inMethod;
    }

    public void setInMethod(int inMethod) {
        this.inMethod = inMethod;
    }

    public int getInValue() {
        return inValue;
    }

    public void setInValue(int inValue) {
        this.inValue = inValue;
    }

    public User getUser() {
        return user;
    }

    public void setUser(User user) {
        this.user = user;
    }

    @Override
    public String toString() {
        return "Integral{" +
                "inId=" + inId +
                ", intGetTime=" + intGetTime +
                ", inMethod=" + inMethod +
                ", inValue=" + inValue +
                ", user=" + user +
                '}';
    }
}
